﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Account/Account.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="AdminTitleContent" runat="server">
	My account
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<%
    int lang = 2;
    VietImage.Roles.RegisteredUserRole role = (VietImage.Roles.RegisteredUserRole)Session["Role"];
 %>

<table>
    <tr>
        <td>Tên</td>
        <td>
            <table cellpadding="0" cellspacing="0" border="0">
	            <tr class="tr-textbox">    
    	            <td class="left-textbox"></td>
                    <td class="center-textbox"><input size="30px" name="txtFirstName" type="text" class="textbox" value="<%= role.UserInfo.GetDetail(lang).Firstname %>"/></td>
    	            <td class="right-textbox"></td>    
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td>Họ và tên lót</td>
        <td>
            <table cellpadding="0" cellspacing="0" border="0">
	            <tr class="tr-textbox">    
    	            <td class="left-textbox"></td>
                    <td class="center-textbox"><input size="30px" name="txtLastName" type="text" class="textbox" value="<%= role.UserInfo.GetDetail(lang).Lastname %>"/></td>
    	            <td class="right-textbox"></td>    
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td>Ngày sinh</td>
        <td>
            <table cellpadding="0" cellspacing="0" border="0">
	            <tr class="tr-textbox">    
    	            <td class="left-textbox"></td>
                    <td class="center-textbox"><input size="30px" name="txtBirthDate" type="text" class="textbox" value="<%=((DateTime)role.UserInfo.Birthday).ToString("dd / MM / yyyy") %>"/></td>
    	            <td class="right-textbox"></td>    
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td>Nơi ở</td>
        <td>
            Quốc gia 
            <select name="cmbNationality">
            </select>
            Thành phố 
            <select name="cmbCity">
            </select>
        </td>
    </tr>
    <tr>
        <td>Giới tính</td>
        <td>
            <select name="cmbGender">
                <option value="1">Nam</option>
                <option value="2">Nữ</option>
            </select>
        </td>
    </tr>
    <tr>
        <td>Email</td>
        <td>
            <table cellpadding="0" cellspacing="0" border="0">
	            <tr class="tr-textbox">    
    	            <td class="left-textbox"></td>
                    <td class="center-textbox"><input size="30px" name="txtUserEmail" type="text" class="textbox" value="<%= role.UserInfo.Email %>"/></td>
    	            <td class="right-textbox"></td>    
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td>Số điện thoại</td>
        <td>
            <table cellpadding="0" cellspacing="0" border="0">
	            <tr class="tr-textbox">    
    	            <td class="left-textbox"></td>
                    <td class="center-textbox"><input size="30px" name="txtPhoneNumber" type="text" class="textbox" value="<%= role.UserInfo.Cellfone %>"/></td>
    	            <td class="right-textbox"></td>    
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td>Địa chỉ</td>
        <td>
            <textarea rows="4" cols="25" name="txtLastName" class="textbox" value="<%= role.UserInfo.GetDetail(lang).Address %>"></textarea>
        </td>
    </tr>
    <tr>
        <td colspan="2">
            <label for="chkEmailNewsletter"><input id="chkEmailNewsletters" name="chkEmailNewsletters" type="checkbox" /> Gửi email cập nhật từ trang web</label>
        </td>
    </tr>
    <tr>
        <td colspan="2">
            <label for="chkEmailAnnoucement"><input id="chkEmailAnnoucement" name="chkEmailAnnoucement" type="checkbox" /> Gửi email thông báo từ trang web</label>
        </td>
    </tr>
    <tr>
        <td></td>
        <td>
            <div onmouseout="buttonmouseout('');" onmousedown="buttonmousedown('');" onmouseover="buttonmouseover('');" style="cursor:pointer; float:left;"><table cellpadding="0" cellspacing="0" border="0">
                <tr>
                    <td class="left-button"></td>
                    <td class="middle-button"><span style="color:White;">Lưu</span></td>
                    <td class="right-button"></td>                        
                </tr>          
            </table></div> 
            <div onmouseout="buttonmouseout('');" onmousedown="buttonmousedown('');" onmouseover="buttonmouseover('');" style="cursor:pointer; float:left;"><table cellpadding="0" cellspacing="0" border="0">
                <tr>
                    <td class="left-button"></td>
                    <td class="middle-button"><span style="color:White;">Tạo mới</span></td>
                    <td class="right-button"></td>                        
                </tr>          
            </table></div> 
        </td>
    </tr>
</table>


</asp:Content>
